package com.wheat.vipcard.bean;

/**
 * Cardtype entity. @author MyEclipse Persistence Tools
 */

public class Cardtype implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Integer typeCode;
	private String typeName;
	private Integer typeOfCode;

	// Constructors

	/** default constructor */
	public Cardtype() {
	}

	@Override
	public String toString() {
		return "Cardtype [id=" + id + ", typeCode=" + typeCode + ", typeName="
				+ typeName + ", typeOfCode=" + typeOfCode + "]";
	}

	/** full constructor */
	public Cardtype(Integer typeCode, String typeName, Integer typeOfCode) {
		this.typeCode = typeCode;
		this.typeName = typeName;
		this.typeOfCode = typeOfCode;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTypeCode() {
		return this.typeCode;
	}

	public void setTypeCode(Integer typeCode) {
		this.typeCode = typeCode;
	}

	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Integer getTypeOfCode() {
		return this.typeOfCode;
	}

	public void setTypeOfCode(Integer typeOfCode) {
		this.typeOfCode = typeOfCode;
	}

}